﻿using Volo.Abp.DependencyInjection;
using YAPACS.Workflows;

namespace YAPACS.RisServer.Workflows.Register;

public class GetExamView : WorkflowBase, IGetExamView, ITransientDependency
{
    protected override async Task<WorkflowOutput> InvokeCoreAsync(WorkflowInput input)
    {
        string content = await Extensions.GetResourceStringAsync("Resources.Register.exam-view.json");

        return new WorkflowOutput { Success = true, View = content };
    }
}
